t1 = ('aa', 'bb', 'cc', 'bb')

# 1. 下标
print(t1[0]) # aa

# 2. index()
print(t1.index('bb')) # 1
# print(t1.index('bbb')) # 报错

# 3. count()
print(t1.count('bb')) # 2
print(t1.count('bbb')) # 0

# 4. len()
print(len(t1)) # 4